#pragma once

#include "G4UImessenger.hh"
//#include "globals.hh"

class PhysicsList;
class G4UIdirectory;
class G4UIcmdWithAString;
class G4UIcmdWithAnInteger;

//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......

class PhysicsListMessenger : public G4UImessenger
{
public:
    PhysicsListMessenger(PhysicsList*);
    virtual ~PhysicsListMessenger();

    void SetNewValue(G4UIcommand*, G4String);

private:
    PhysicsListMessenger& operator=(const PhysicsListMessenger& right);
    PhysicsListMessenger(const PhysicsListMessenger&);

    PhysicsList* _fPhysicsList;

    G4UIdirectory* _fPhysDir;
    G4UIcmdWithAnInteger* _fVerbCmd;
    G4UIcmdWithAString* _fListCmd;
};
